﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="SilverlightApplication.DVDAdvancedPanel"
	d:DesignWidth="500" d:DesignHeight="164">
	<UserControl.Resources>
		<LinearGradientBrush x:Key="bshBlue" EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FF1222CF"/>
			<GradientStop Color="#FF03142A" Offset="1"/>
			<GradientStop Color="#FF0A1361" Offset="0.509"/>
		</LinearGradientBrush>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" Width="500" Height="164">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="*"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		<TextBlock x:Name="asDVDTitle" Margin="5" Foreground="{StaticResource bshBlue}" Text="Title:" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="0" Grid.Row="0"/>
		<TextBox x:Name="txbAdvDVDTitle" Margin="5" Height="24" Background="{StaticResource bshFields}" KeyUp="KeyPress" Grid.Column="1" Grid.Row="0"/>
		<TextBlock x:Name="asDVDActor" Margin="5" Foreground="{StaticResource bshBlue}" Text="Actor:" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="0" Grid.Row="1"/>
		<TextBox x:Name="txbAdvDVDActor" Margin="5" Height="24" Background="{StaticResource bshFields}" KeyUp="KeyPress" Grid.Column="1" Grid.Row="1"/>
		<TextBlock x:Name="asDVDDirector" Margin="5" Foreground="{StaticResource bshBlue}" Text="Director:" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="0" Grid.Row="2"/>
		<TextBox x:Name="txbAdvDVDDirector" Margin="5" Height="24" Background="{StaticResource bshFields}" KeyUp="KeyPress" Grid.Column="1" Grid.Row="2"/>
		<TextBlock x:Name="asDVDKeywords" Margin="5" Foreground="{StaticResource bshBlue}" Text="Keywords:" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="0" Grid.Row="3"/>
		<TextBox x:Name="txbAdvDVDKeywords" Margin="5" Height="24" Background="{StaticResource bshFields}" KeyUp="KeyPress" Grid.Column="1" Grid.Row="3"/>
        <TextBlock x:Name="asDVDEditor" Margin="5" Foreground="{StaticResource bshBlue}" Text="Editor:" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="0" Grid.Row="4"/>
        <TextBox x:Name="txbAdvDVDEditor" Margin="5" Height="24" Background="{StaticResource bshFields}" KeyUp="KeyPress" Grid.Column="1" Grid.Row="4"/>

        <TextBlock x:Name="asDVDOrderBy" Margin="5" Foreground="{StaticResource bshBlue}" Text="Order by:" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="2" Grid.Row="0"/>
		<ComboBox x:Name="cboxAdvDVDPrice" Margin="5" Grid.Column="3" Grid.Row="4" Height="24" Background="{StaticResource bshAdvPanel}">
			<ComboBoxItem Content="&lt;&lt; Select &gt;&gt;" IsSelected="True" x:Name="emptycmbdvd1" />
			<ComboBoxItem Content="Up to U$S 10" x:Name="cboxDVDItemUp10"/>
			<ComboBoxItem Content="From U$S 10 to 50" x:Name="cboxDVDItemFrom10to50"/>
			<ComboBoxItem Content="More than U$S 50" x:Name="cboxDVDItemMorethan50"/>
		</ComboBox>
        
        <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="3" Grid.ColumnSpan="2">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <RadioButton Margin="95,5,5,-5" x:Name="rbDVDUpward" Content="Ascending" IsChecked="True" Grid.Row="0" VerticalAlignment="Center" Foreground="{StaticResource bshBlue}" HorizontalAlignment="Left"/>
            <RadioButton Margin="95,-5,5,5" x:Name="rbDVDDownward" Content="Descending" Grid.Row="1" VerticalAlignment="Center" Foreground="{StaticResource bshBlue}" HorizontalAlignment="Left"/>
        </Grid>

		<TextBlock x:Name="asDVDPrice" Margin="5" Text="Price:" Foreground="{StaticResource bshBlue}" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Row="4" Grid.Column="2"/>
		<ComboBox x:Name="cboxAdvDVDOrderBy" Margin="5" Height="24" Background="{StaticResource bshAdvPanel}" Grid.Row="0" Grid.Column="3" SelectionChanged="cboxAdvDVDOrderBy_SelectionChanged">
			<ComboBoxItem Content="&lt;&lt; Select &gt;&gt;" IsSelected="True" x:Name="emptycmbdvd"/>
			<ComboBoxItem Content="Price" x:Name="cbItDVDPrice"/>
			<ComboBoxItem Content="Title" x:Name="cbItDVDTitle"/>
		</ComboBox>
    </Grid>
</UserControl>